package com.dnjn.happiness.emo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dnjn.happiness.emo.api.domain.UserModelScore;
import com.dnjn.happiness.emo.domain.vo.UserModelScoreVO;

/**
 * userModelScoreService接口
 *
 * @author amber
 * @date 2024-03-02
 */
public interface IUserModelScoreService extends IService<UserModelScore> {

    void updateUserModelScore(UserModelScoreVO vo);

    void updateUserModelScoreList(UserModelScore item);

    /**
     * 添加新用户的时候更新model新增5条，并且直接更新 emo_user的快乐值
     * @param userId
     * @param tenantId
     */
    void updateUserModelScoreByUserId(Long userId);


//    UserModelScore getByUserIdAndRiskType(Long userId, String rtype);
}
